\hypertarget{class_shoe_user__model}{\section{Shoe\-User\-\_\-model Class Reference}
\label{class_shoe_user__model}\index{Shoe\-User\-\_\-model@{Shoe\-User\-\_\-model}}
}
Inheritance diagram for Shoe\-User\-\_\-model\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_shoe_user__model}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_shoe_user__model_a497ff21ab3e91b396d437228b4c3e05a}{Shoe\-User\-\_\-model} ()
\item 
\hyperlink{class_shoe_user__model_a6272706d6d2731d69378d226970c076d}{get\-All\-Shoes} ()
\item 
\hyperlink{class_shoe_user__model_a686d9de985b32bf9ea7796e89b98a782}{get\-User\-Shoe\-By\-I\-D} (\$id)
\item 
\hyperlink{class_shoe_user__model_a16d7949836c33f9c2a71d8f919ae0911}{get\-All\-User\-Shoes\-From\-User} (\$userid)
\item 
\hyperlink{class_shoe_user__model_a03e267793e9e75b846b2582c5ed00eb6}{add\-User\-Shoe} (\$userid, \$shoeid)
\item 
\hyperlink{class_shoe_user__model_a73bda81c6c9d1e0a6962cdee262d7592}{update\-User\-Shoe} (\$user\-Shoe\-I\-D, \$userid, \$shoeid, \$kilometer)
\item 
\hyperlink{class_shoe_user__model_a81d2a0e7707327524310e713c4a2b6ed}{delete\-User\-Shoe} (\$id)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
model for the user specific shoes \begin{DoxyAuthor}{Author}
Simon 
\end{DoxyAuthor}


\subsection{Member Function Documentation}
\hypertarget{class_shoe_user__model_a03e267793e9e75b846b2582c5ed00eb6}{\index{Shoe\-User\-\_\-model@{Shoe\-User\-\_\-model}!add\-User\-Shoe@{add\-User\-Shoe}}
\index{add\-User\-Shoe@{add\-User\-Shoe}!ShoeUser_model@{Shoe\-User\-\_\-model}}
\subsubsection[{add\-User\-Shoe}]{\setlength{\rightskip}{0pt plus 5cm}{\bf add\-User\-Shoe} (
\begin{DoxyParamCaption}
\item[{\$}]{userid, }
\item[{\$}]{shoeid}
\end{DoxyParamCaption}
)}}\label{class_shoe_user__model_a03e267793e9e75b846b2582c5ed00eb6}
adds one user shoe. returns true if the transaction was sucessfull 
\begin{DoxyParams}[1]{Parameters}
int & {\em \$userid} & \\
\hline
int & {\em \$shoeid} & \\
\hline
\end{DoxyParams}
\hypertarget{class_shoe_user__model_a81d2a0e7707327524310e713c4a2b6ed}{\index{Shoe\-User\-\_\-model@{Shoe\-User\-\_\-model}!delete\-User\-Shoe@{delete\-User\-Shoe}}
\index{delete\-User\-Shoe@{delete\-User\-Shoe}!ShoeUser_model@{Shoe\-User\-\_\-model}}
\subsubsection[{delete\-User\-Shoe}]{\setlength{\rightskip}{0pt plus 5cm}{\bf delete\-User\-Shoe} (
\begin{DoxyParamCaption}
\item[{\$}]{id}
\end{DoxyParamCaption}
)}}\label{class_shoe_user__model_a81d2a0e7707327524310e713c4a2b6ed}
deletes one unser shoe by the id. returns true if the transaction was sucessfull 
\begin{DoxyParams}[1]{Parameters}
int & {\em \$id} & \\
\hline
\end{DoxyParams}
\hypertarget{class_shoe_user__model_a6272706d6d2731d69378d226970c076d}{\index{Shoe\-User\-\_\-model@{Shoe\-User\-\_\-model}!get\-All\-Shoes@{get\-All\-Shoes}}
\index{get\-All\-Shoes@{get\-All\-Shoes}!ShoeUser_model@{Shoe\-User\-\_\-model}}
\subsubsection[{get\-All\-Shoes}]{\setlength{\rightskip}{0pt plus 5cm}{\bf get\-All\-Shoes} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_shoe_user__model_a6272706d6d2731d69378d226970c076d}
returns all user shoes from the database \hypertarget{class_shoe_user__model_a16d7949836c33f9c2a71d8f919ae0911}{\index{Shoe\-User\-\_\-model@{Shoe\-User\-\_\-model}!get\-All\-User\-Shoes\-From\-User@{get\-All\-User\-Shoes\-From\-User}}
\index{get\-All\-User\-Shoes\-From\-User@{get\-All\-User\-Shoes\-From\-User}!ShoeUser_model@{Shoe\-User\-\_\-model}}
\subsubsection[{get\-All\-User\-Shoes\-From\-User}]{\setlength{\rightskip}{0pt plus 5cm}{\bf get\-All\-User\-Shoes\-From\-User} (
\begin{DoxyParamCaption}
\item[{\$}]{userid}
\end{DoxyParamCaption}
)}}\label{class_shoe_user__model_a16d7949836c33f9c2a71d8f919ae0911}
returns all user shoes frum one user by the user id 
\begin{DoxyParams}[1]{Parameters}
int & {\em \$userid} & \\
\hline
\end{DoxyParams}
\hypertarget{class_shoe_user__model_a686d9de985b32bf9ea7796e89b98a782}{\index{Shoe\-User\-\_\-model@{Shoe\-User\-\_\-model}!get\-User\-Shoe\-By\-I\-D@{get\-User\-Shoe\-By\-I\-D}}
\index{get\-User\-Shoe\-By\-I\-D@{get\-User\-Shoe\-By\-I\-D}!ShoeUser_model@{Shoe\-User\-\_\-model}}
\subsubsection[{get\-User\-Shoe\-By\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}{\bf get\-User\-Shoe\-By\-I\-D} (
\begin{DoxyParamCaption}
\item[{\$}]{id}
\end{DoxyParamCaption}
)}}\label{class_shoe_user__model_a686d9de985b32bf9ea7796e89b98a782}
returns one shoe from the user by id 
\begin{DoxyParams}[1]{Parameters}
int & {\em \$id} & user shoe id \\
\hline
\end{DoxyParams}
\hypertarget{class_shoe_user__model_a497ff21ab3e91b396d437228b4c3e05a}{\index{Shoe\-User\-\_\-model@{Shoe\-User\-\_\-model}!Shoe\-User\-\_\-model@{Shoe\-User\-\_\-model}}
\index{Shoe\-User\-\_\-model@{Shoe\-User\-\_\-model}!ShoeUser_model@{Shoe\-User\-\_\-model}}
\subsubsection[{Shoe\-User\-\_\-model}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Shoe\-User\-\_\-model} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_shoe_user__model_a497ff21ab3e91b396d437228b4c3e05a}
constructor \hypertarget{class_shoe_user__model_a73bda81c6c9d1e0a6962cdee262d7592}{\index{Shoe\-User\-\_\-model@{Shoe\-User\-\_\-model}!update\-User\-Shoe@{update\-User\-Shoe}}
\index{update\-User\-Shoe@{update\-User\-Shoe}!ShoeUser_model@{Shoe\-User\-\_\-model}}
\subsubsection[{update\-User\-Shoe}]{\setlength{\rightskip}{0pt plus 5cm}{\bf update\-User\-Shoe} (
\begin{DoxyParamCaption}
\item[{\$}]{user\-Shoe\-I\-D, }
\item[{\$}]{userid, }
\item[{\$}]{shoeid, }
\item[{\$}]{kilometer}
\end{DoxyParamCaption}
)}}\label{class_shoe_user__model_a73bda81c6c9d1e0a6962cdee262d7592}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
/\-Applications/\-M\-A\-M\-P/htdocs/\-Workspace/blp2.\-0/application/models/\hyperlink{shoeuser__model_8php}{shoeuser\-\_\-model.\-php}\end{DoxyCompactItemize}
